package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退款售后对象 car_order_after_sale
 * 
 * @author ruoyi
 * @date 2024-10-05
 */
public class CarOrderAfterSale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 售后编号 */
    @Excel(name = "售后编号")
    private String afterSaleNo;

    /** 订单开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderBeginTime;

    /** 订单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderEndTime;

    /** 退租原因 */
    @Excel(name = "退租原因")
    private String refundReason;

    /** 退租备注 */
    @Excel(name = "退租备注")
    private String refundMemo;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    /** 退款类型 */
    @Excel(name = "退款类型")
    private String refundType;

    /** 退款方式 */
    @Excel(name = "退款方式")
    private String refundWay;

    /** 退款单号 */
    @Excel(name = "退款单号")
    private String payNo;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal payMoney;

    /** 退款备注 */
    @Excel(name = "退款备注")
    private String payMemo;

    /** 撤销退款0：不撤销，1：撤销 */
    @Excel(name = "撤销退款0：不撤销，1：撤销")
    private String repeal;

    /** 退款状态 */
    @Excel(name = "退款状态")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setAfterSaleNo(String afterSaleNo) 
    {
        this.afterSaleNo = afterSaleNo;
    }

    public String getAfterSaleNo() 
    {
        return afterSaleNo;
    }
    public void setOrderBeginTime(Date orderBeginTime) 
    {
        this.orderBeginTime = orderBeginTime;
    }

    public Date getOrderBeginTime() 
    {
        return orderBeginTime;
    }
    public void setOrderEndTime(Date orderEndTime) 
    {
        this.orderEndTime = orderEndTime;
    }

    public Date getOrderEndTime() 
    {
        return orderEndTime;
    }
    public void setRefundReason(String refundReason) 
    {
        this.refundReason = refundReason;
    }

    public String getRefundReason() 
    {
        return refundReason;
    }
    public void setRefundMemo(String refundMemo) 
    {
        this.refundMemo = refundMemo;
    }

    public String getRefundMemo() 
    {
        return refundMemo;
    }
    public void setRefundTime(Date refundTime) 
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime() 
    {
        return refundTime;
    }
    public void setRefundType(String refundType) 
    {
        this.refundType = refundType;
    }

    public String getRefundType() 
    {
        return refundType;
    }
    public void setRefundWay(String refundWay) 
    {
        this.refundWay = refundWay;
    }

    public String getRefundWay() 
    {
        return refundWay;
    }
    public void setPayNo(String payNo) 
    {
        this.payNo = payNo;
    }

    public String getPayNo() 
    {
        return payNo;
    }
    public void setPayMoney(BigDecimal payMoney) 
    {
        this.payMoney = payMoney;
    }

    public BigDecimal getPayMoney() 
    {
        return payMoney;
    }
    public void setPayMemo(String payMemo) 
    {
        this.payMemo = payMemo;
    }

    public String getPayMemo() 
    {
        return payMemo;
    }
    public void setRepeal(String repeal) 
    {
        this.repeal = repeal;
    }

    public String getRepeal() 
    {
        return repeal;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("afterSaleNo", getAfterSaleNo())
            .append("orderBeginTime", getOrderBeginTime())
            .append("orderEndTime", getOrderEndTime())
            .append("refundReason", getRefundReason())
            .append("refundMemo", getRefundMemo())
            .append("refundTime", getRefundTime())
            .append("refundType", getRefundType())
            .append("refundWay", getRefundWay())
            .append("payNo", getPayNo())
            .append("payMoney", getPayMoney())
            .append("payMemo", getPayMemo())
            .append("repeal", getRepeal())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
